package com.school.domain;

import java.io.Serializable;

public class Classes implements Serializable {
    private static final long serialVersionUID = -4382522373352111267L;
    private long clid;
    private String name;
    private long num; // 班级人数

    public Classes() {
    }

    public Classes(long clid, String name, long num) {
        this.clid = clid;
        this.name = name;
        this.num = num;
    }

    @Override
    public String toString() {
        return "Classes{" +
                "clid=" + clid +
                ", name='" + name + '\'' +
                ", num=" + num +
                '}';
    }

    public long getClid() {
        return clid;
    }

    public void setClid(long clid) {
        this.clid = clid;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public long getNum() {
        return num;
    }

    public void setNum(long num) {
        this.num = num;
    }
}
